from rest_framework.test import APIRequestFactory

factory = APIRequestFactory(enforce_csrf_checks=True)
request = factory.get('/api/Article/4/', format="json")
